import Mock from 'mockjs';
import baseUrl from '@/constant/index/apiUrl';

const Random = Mock.Random;

Mock.mock(baseUrl.hot,
	[
		"强袭自由高达",
		"EVA8号机",
		"初号机"
	]
);

/* let carouselList = [];
for (let i = 0; i < 10; i++) {
        let carouselObj = {
            'title': Random.cname(),//随机生成中文名字
            'src': Random.url(),
            'href': Random.url(),//随机生成日期时间
        }
        carouselList.push(carouselObj)
    }

Mock.mock('/index/carousel/list',carouselList); */

Mock.mock(baseUrl.news, [{
	"title": "2022冬日萌燃祭 可动手办——图流摄影活动",
	"src": "https://bbs-attachment-cdn.78dm.net/upload/2022/01/96f4826b196457bd3dbcc8335390216e-w640h640",
	"href": "https://bbs.78dm.net/forum/post/787514.html"
}, {
	"title": "52TOYS BEASTBOX系列 水生族 BB-42 锈蚀骷髅",
	"src": "https://bbs-attachment-cdn.78dm.net/upload/2022/01/f5d240559ec617e20b538142a1851cd1-w640h640",
	"href": "https://bbs.78dm.net/forum/post/788499.html"
}, {
	"title": "御模道 1/9 钢铁侠MK——50 豪华版",
	"src": "https://bbs-attachment-cdn.78dm.net/upload/2022/01/70f85ee3be642a8278116664df839749-w640h640",
	"href": "https://bbs.78dm.net/forum/post/787794.html"
},{
	"title": "GSC POP UP PARADE 童年女神 桔梗和戈薇",
	"src": "https://bbs-attachment-cdn.78dm.net/upload/2022/01/f8068eb3551da2195ded013c8fadadf8-w320h320",
	"href": "https://bbs.78dm.net/forum/post/787326.html"
}, {
	"title": "变形金刚 FOC D级 闪电(DIY)",
	"src": "https://bbs-attachment-cdn.78dm.net/upload/2022/01/c69451cb29f3bd1aa36ab82d7a017389-w320h320",
	"href": "https://bbs.78dm.net/forum/post/787293.html"
}, {
	"title": "童年回忆篇——《数码宝贝》专场来袭!",
	"src": "https://bbs-attachment-cdn.78dm.net/upload/2022/01/7be4bbc1d6ed3d018bb87544350ac157-w320h320",
	"href": "https://bbs.78dm.net/forum/post/788682.html"
}, {
	"title": "灾厄高达",
	"src": "https://bbs-attachment-cdn.78dm.net/upload/2022/01/72355bea6b0e362527217a1d7d71798c-w320h320",
	"href": "https://bbs.78dm.net/forum/post/783540.html"
},{
	"title": "『旧物新评』SIC 魂会场限定 假面骑士CHALICE Wild Form 狂野卡利斯",
	"src": "https://bbs-attachment-cdn.78dm.net/upload/2022/01/5c9a2a595ef7d523c6c4010cdee45674-w320h320",
	"href": "https://bbs.78dm.net/forum/post/786735.html"
}, {
	"title": "寿屋 英雄传说 闪之轨迹4 阿尔缇娜",
	"src": "https://bbs-attachment-cdn.78dm.net/upload/2022/01/72d32d1f058e9eb40ffe851ad58c9c51-w320h320",
	"href": "https://bbs.78dm.net/forum/post/787272.html"
}, {
	"title": "【揭皇榜】ROBOT魂 拜叶特&墨丘利  Vayeate& Mercurius",
	"src": "https://bbs-attachment-cdn.78dm.net/upload/2022/01/ce39c2e4c0635e86c8c63514651be354-w320h320",
	"href": "https://bbs.78dm.net/forum/post/786037.html"
}, {
	"title": "MG德天使 gn力场 爆甲场景制作 ",
	"src": "https://bbs-attachment-cdn.78dm.net/upload/2022/01/382dc2785a53124cd8837f501b7f7584-w320h320",
	"href": "https://bbs.78dm.net/forum/post/786412.html"
}, {
	"title": "【就是喜欢泳装】GSC Pop To Love 菈菈 泳装ver.",
	"src": "https://bbs-attachment-cdn.78dm.net/upload/2022/01/e135a576ae56b21c3c7b8c906e56c682-w320h320",
	"href": "https://bbs.78dm.net/forum/post/786569.html"
}]);

Mock.mock(baseUrl.newProducts, [{
	"title": "官方评测 魂尚动漫 烈焰飞影 预涂装版",
	"src": "https://bbs-attachment-cdn.78dm.net/upload/2022/01/9e1ab54fdee8bbdfe4e21ed1a97f086d-w640h640",
	"href": "https://bbs.78dm.net/forum/post/788958.html",
	"price": "498",
	"saleTime": "2022.01",
	"brand": "魂尚",
	"type": "拼装"
}, {
	"title": "POP UP PARADE 黑岩射手&死亡大师",
	"src": "https://bbs-attachment-cdn.78dm.net/upload/2022/01/124fa42e6ca9b43fa21b39e3ac58f2be-w320h320",
	"href": "https://bbs.78dm.net/forum/post/788988.html",
	"price": "3545",
	"saleTime": "2021.12",
	"brand": "GSC",
	"type": "拼装"
}, {
	"title": "网限 HGUC系列 杰刚F91Ver. 3机套装[附属水贴纸]",
	"src": "https://bbs-attachment-cdn.78dm.net/upload/2022/01/0280a6f45ec705400b5903122e92e825-w320h320",
	"href": "https://bbs.78dm.net/forum/post/788946.html",
	"price": "2300",
	"saleTime": "2021.12",
	"brand": "万代",
	"type": "拼装"
}, {
	"title": "万代 拼装部 新品展示 ",
	"src": "https://bbs-attachment-cdn.78dm.net/upload/2022/01/8a7fb56336da445d73506678ee215bf8-w320h320",
	"href": "https://bbs.78dm.net/forum/post/788937.html",
	"price": "",
	"saleTime": "2021.12",
	"brand": "万代",
	"type": "拼装"
}, {
	"title": "万代 拼装部 新品展示 ",
	"src": "https://bbs-attachment-cdn.78dm.net/upload/2022/01/8a7fb56336da445d73506678ee215bf8-w320h320",
	"href": "https://bbs.78dm.net/forum/post/788937.html",
	"price": "",
	"saleTime": "2021.12",
	"brand": "万代",
	"type": "拼装"
}]);

export default Mock;
